package com.wave.wavesystem.business.service;


import com.wave.wavesystem.business.pojo.entity.MenuEntity;
import com.wave.wavesystem.business.pojo.vo.MenuVO;
import com.wave.wavesystem.core.service.WaveService;
import wave.common.pojo.entity.KV;

import java.util.List;

/**
 * @author 夕下风波
 * @date 2025-01-22
 * @description 菜单表 业务层接口
 */
public interface MenuService extends WaveService<MenuEntity> {

    /**
     * 获取所有菜单
     */
    List<MenuVO> allMenu(String type);

    /**
     * 获取顶部菜单
     */
    List<KV<String, String>> topMenu(String type);

    /**
     * 获取子菜单
     */
    List<MenuVO> childrenMenu(String parentId);

}
